﻿CREATE TABLE [dbo].[CultivosFechas] (
    [FechaGuid]         UNIQUEIDENTIFIER ROWGUIDCOL NOT NULL,
    [FechaId]           INT              NOT NULL,
    [JuntaGuid]         UNIQUEIDENTIFIER NOT NULL,
    [JuntaId]           INT              NOT NULL,
    [CicloGuid]         UNIQUEIDENTIFIER NOT NULL,
    [CicloId]           INT              NOT NULL,
    [CultivoGuid]       UNIQUEIDENTIFIER NOT NULL,
    [CultivoId]         INT              NOT NULL,
    [InicioDeSiembra]   DATETIME         NOT NULL,
    [FinDeSiembra]      DATETIME         NOT NULL,
    [InicioDeSolicitud] DATETIME         NOT NULL,
    [FinDeSolicitud]    DATETIME         NOT NULL,
    [Vigencia]          DATETIME         NOT NULL,
    [DestruccionDeSoca] NTEXT            NOT NULL
);


GO
ALTER TABLE [dbo].[CultivosFechas] ENABLE CHANGE_TRACKING WITH (TRACK_COLUMNS_UPDATED = OFF);

